﻿using System.ComponentModel.Composition;
using iStudio.Structure.Command;

namespace iStudio.Module.Equalizer
{
    [Export(typeof(Structure.Engine.Module))]
    public class EqualizerModule : Structure.Engine.Module
    {
        public EqualizerModule()
        {
            AddCommand("Equalizer", "Functions/Equalizer");
        }

        protected override void OnExecutedCommand(ModuleCommand command)
        {
            switch (command.Name)
            {
                case "Equalizer":
                    OpenDockableWindow(new EqualizerWindow (this));
                    break;
            }
        }
    }
}
